//
//  CustomPayedOrderHeadTableViewCell.m
//  ChunLaiZhuangClient
//
//  Created by zouzhisheng on 16/4/28.
//  Copyright © 2016年 CLZ. All rights reserved.
//

#import "CustomPayedOrderHeadTableViewCell.h"

@implementation CustomPayedOrderHeadTableViewCell

- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}
-(void)loadDataModel:(OrderDetailDataModel*)orderModel;{
    self.order_statusLabel.text=[NSString stringWithFormat:@"%@",orderModel.order_status];
    self.order_idLabel.text=[NSString stringWithFormat:@"订单编号:  %@",orderModel.order_id];
    self.telephoneLabel.text=[NSString stringWithFormat:@"%@",orderModel.shipping_address.telephone];
    self.firstnameLabel.text=[NSString stringWithFormat:@"%@",orderModel.shipping_address.firstname];
    self.addressLabel.text=[NSString stringWithFormat:@"%@",orderModel.shipping_address.address];
    self.totalLabel.text=[NSString stringWithFormat:@"实付金额:  %@",orderModel.final_pay];
    self.date_addedLabel.text=[NSString stringWithFormat:@"下单时间:  %@",orderModel.date_added];
    self.payment_timeLabel.text=[NSString stringWithFormat:@"支付时间:  %@",orderModel.payment_time];
    self.ship_timeLabel.text=[NSString stringWithFormat:@"发货时间:  %@",orderModel.ship_time];
    
    
    
    
    
    
    
    
}
@end
